package com.xuhai.blog.admin.service;

import com.xuhai.blog.admin.entity.ArticleCategoryEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xuhai.blog.admin.entity.ArticleEntity;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 机蜂
 * @since 2022-02-08
 */
public interface ArticleCategoryService extends IService<ArticleCategoryEntity> {
    List<ArticleEntity> getArticleByCategoryId(Integer categoryId);
    void deleteByArticleId(Integer articleId);
}
